With CSE HTML Validator's Own Engine
There are some cases where you may want CSE HTML Validator to ignore, exclude, or bypass part of a document. For example, some sites (such as affiliate sites) give you bad HTML to insert into your documents, but you don't want to change or fix it because you'd rather just ignore it and leave it as it is.
To address this issue, CSE HTML Validator provides the "cseignore" element so you can surround the part of the document you want to ignore in "cseignore" tags. Example: <cseignore>...ignore this...</cseignore>
For better compatibility with other syntax checkers and validators, <!--cseignore--> (case sensitive) can be used to simulate a <cseignore> start tag and <!--/cseignore--> (case sensitive) can be used to simulate a </cseignore> end tag. (New v8.04)
NOTE: The "cseignore" element is included with the default configuration file. Other configuration files may not have support for the "cseignore" element.
NOTE: The "cseignore" element only works with CSE HTML Validator's own validation engine. This element is not recognized by HTML Tidy, nsgmls, JavaScript Lint, or PHP which may be optionally enabled (but are not enabled by default).
NOTE: Does not ignore "high ASCII characters" for the "high ASCII" character check, if enabled.
With JavaScript Lint
JavaScript Lint includes some control comments that let you ignore part of a document:
/*jsl:ignore*/
(code that fires warnings)
/*jsl:end*/
To ignore all warnings in a file, place /*jsl:ignoreall*/ at the top of the file. For more information, please see the JavaScript Lint external links.