correctly parse comments at the end of the line.