Only process selected lines in the Select Overlaps macro

And skip over commented lines as the description claimed it did already.

Closes #1751.