src/language-js/print/jsx.js/printJsxClosingElement
function printJsxClosingElement(path, options, print) {
  const n = path.getValue();
  const parts = [];

  parts.push("</");

  const printed = path.call(print, "name");
  if (hasComment(n.name, CommentCheckFlags.Leading | CommentCheckFlags.Line)) {
    parts.push(indent(concat([hardline, printed])), hardline);
  } else if (
    hasComment(n.name, CommentCheckFlags.Leading | CommentCheckFlags.Block)
  ) {
    parts.push(" ", printed);
  } else {
    parts.push(printed);
  }

  parts.push(">");

  return concat(parts);
}