Often while coding view templates in html, my habit of adding some helpful comments causes lots of time-consuming effort while testing.
Consider this code...
Depends on the extension. If it's .html, you can use to start and ?> to end a comment. That's really the only alternative that I can think of. http://jsfiddle.net/SuEAW/
?>