http://www.perlmonks.org?node_id=502270


in reply to Re^2: Checkstyle For HTML Templates
in thread Checkstyle For HTML Templates

Well, not everything:

<div class="<!-- TMPL_VAR NAME=PARAM2 -->">Test</div>

Comment tags will validate as long as they are used outside of HTML tags.