code: private void parseMisc() throws Exception {
          while (true) {
              skipWhitespace();
              if (tryRead(startDelimPI)) {
                  parsePI();
              } else if (tryRead(startDelimComment)) {
                  parseComment();
              } else {
                  return;
              }
          }
      }
docs: Parse miscellaneous markup outside the document element and DOCTYPE
  declaration.
  
  <pre>
  [27] Misc ::= Comment | PI | S
  </pre>