I tried:
but it didn
You're mixing two completely unrelated concepts there: HTML and the DOM.
HTML is a textual means of describing content, which — like code — has a means of commenting things out. The DOM is the resulting object model in the browser.
Once the HTML has been read and parsed and the DOM has been created, the HTML is discarded and unnecessary. Adding HTML comments to things won't change them, and in fact doesn't make sense (although it's easy to see how you thought it would, don't get the wrong idea).
Once you have the DOM, to hide an element without removing it, use hide. To remove it entirely, use remove.
Live examples of both: http://jsbin.com/araju