Remove line comments before parsing.