private static boolean isLineComment(@Nullable PsiComment element) {
      if (element == null) return false;
      Commenter commenter = LanguageCommenters.INSTANCE.forLanguage(element.getLanguage());
      return commenter instanceof CodeDocumentationAwareCommenter &&
             ((CodeDocumentationAwareCommenter)commenter).getLineCommentTokenType() == getElementType(element);
    }
private static boolean isLineComment(@Nullable PsiComment element)