private static void printComment(Writer out, Comment comment) throws IOException {
    out.write("<!--");
    out.write(comment.getText());
    out.write("-->");
  }
private static void printComment(Writer out, Comment comment)