Comments and processing instructions after the root element, in order.
Comments, processing instructions and the doctype before the root element, in order.
Comments and processing instructions after the root element, in order.