parser: allow comments without eol (for eof)