The latest release of the free WordPress plugin Redirect URL to Post adds three new parameters to filter posts by comments:
Values are integers.
comment_count also accepts negative values (even
-0), which means “not x”.
- Have no comments:
- Have comments:
- Have <= x comments:
- Have >= x comments:
If you need < and > instead of <= and >=, you simply use x-1 or x+1.