private static boolean isCommentElement(@Nullable PsiElement element) {
    return element != null && isCommentNode(element.getNode());
  }
private static boolean isCommentElement(@Nullable PsiElement element)