Improvement to HTML comments

Fixed issue where HTML comments were not properly ending, causing all code after the start comment tag to appear commented out.