Test of the HTML/SGML comment syntax, as given in the W3 HTML Spec: Comments
See especially, the footnote: (10)
Co-vary the LYK_MINIMAL and LYK_HISTORICAL command key toggles (use the 'k'eymap command to see their key bindings) to establish Valid, Minimal or Historical comment parsing, and toggle trace mode on (Ctrl-T), to see how comment parsing is affected.
Case 01 through Case 14 should appear as short separate paragraphs with the case numbers aligned vertically. Some noise characters may appear to the right as a byproduct of code present for error recovery, but there should be no noise before each case number.
Case | 01 | Trivial
Case | 03 | Extra LT --> --> -->
Case | 04 | Balanced
Case > still in comment --> | 05 | Extra GT
Case | 06 | Stuff Inside
Case | 07 | Extra Open --> -->
Case degenerate --> | 09 | Degenerate
Case | 10 | Empty
Case | 11 | Perverse --> --> -->
Case --> -->
Case | 13 | Zero Comments
Case | 14 | Last