This error may appear if you are using a bad syntax for you comments, such as "<!invalid comment>" The proper syntax for comments is <!-- your comment here -->.
textexample textexample