In files that ignore unknown or unused definitions (like CSS and HTML), my preference is just to misspell keywords and identifiers by adding an "x" prefix.
For example, if you have a block:
.mystyle {
font-size: smaller;
. . .
}
You can virtually comment-out the whole thing with one extra character:
.xmystyle {
font-size: smaller;
. . .
}
This also works to kill just one property:
.mystyle {
xfont-size: smaller;
. . .
}
It applies to HTML attributes too, e.g. <mytag class="abc"> could be disabled with <mytag class="xabc">, which is much simpler than any hack to comment-out the HTML tags or delete the class attribute.
For example, if you have a block: .mystyle { font-size: smaller; . . . }
You can virtually comment-out the whole thing with one extra character: .xmystyle { font-size: smaller; . . . }
This also works to kill just one property: .mystyle { xfont-size: smaller; . . . }
It applies to HTML attributes too, e.g. <mytag class="abc"> could be disabled with <mytag class="xabc">, which is much simpler than any hack to comment-out the HTML tags or delete the class attribute.