#### Demonstration  #### Explanation The `DOCTYPE` declaration may be preceded by comments, after the BOM. [^1] > Documents must consist of the following parts, in the given order: > > 1. Optionally, a single U+FEFF BYTE ORDER MARK (BOM) character. > > 1. Any number of [comments](https://html.spec.whatwg.org/multipage/syntax.html#syntax-comments) and [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace). > > 1. A [DOCTYPE](https://html.spec.whatwg.org/multipage/syntax.html#syntax-doctype). [^1]: [`html.spec.whatwg.org/multipage/syntax.html#writing`](https://html.spec.whatwg.org/multipage/syntax.html#writing:~:text=Any%20number%20of%20comments%20and,A%20DOCTYPE.) #### Environment <table> <tbody> <tr> <th> Extension </th> <td> 1.1.0 </td> </tr> <tr> <th> VSC </th> <td> <code>code-1.100.2-1747260629.el8.x86_64</code> </td> </tr> </tbody> </table>