ignore trailing comment ending in html & c-style languages