If you already have html comments on your page, @bukko's solution doesn't fully work. Stuff after the html comment will get rendered normally.
Something else to try is:
The rest of the document gets interpreted as part of the script tag, and because the script isn't
Worked for me, thought I'd share it.
I've seen the
script trick not work in Chrome.
This does work, but I have not done extensive browser testing: