fix issue with line comments being counted as newlines

* when they're the only thing on the line (aside from whitespace)
  they will be considered completely empty (not a newline).
* when they trail some non-whitespace characters, they will be
  treated as a newline.
0.0.8