added support for HTML comments