# HTML comments
## Block-level comments
Single-line comment at line start:
Multi-line comment:
Comment with markdown chars inside (stays literal):
Comment followed by paragraph (next line is fresh markdown):
This is now a paragraph with *emphasis*.
Comment with text after closer on the same line (per spec the whole line is part of the block):
*bar*
*baz*
## Inline comments (mid-paragraph)
Text before <!-- inline comment --> and text after.
Multi-line inline comment in a paragraph: prefix <!-- line 1
line 2
end --> then more text.
## Short comment forms
Empty body `<!-->`:
text <!--> tail
Single-hyphen body `<!--->`:
text <!---> tail
Edge case: malformed end forms (no `-->`):
paragraph with <!-- never closes