If you want to hide anything HTML on the page you should use PHP instead of HTML comments -> HTML comments (eg <!-- hide me -->) are still visible to the source code
It would be best to use PHP to hide
# 1 >
PHP script
If you want to hide content using PHP you can simple put this:
<?php if (0): ?>
Everything here will not appear even in the html source