Specification: https://spec.commonmark.org/0.30/#html-tag.
3: 4: 5: processing instruction ?>
This line is outside the comment block for both.
Angle brackets < and > are reproduced literally as long as they do not start or end valid HTML tags, comments, declarations, processing instructions or CDATA sections.