@Override
  public boolean isInComment(@NotNull PsiFile file, @NotNull Editor editor, int offset) {
    final HighlighterIterator it = createBeforeIterator(editor, offset);
    return !it.atEnd() && isCommentType(it.getTokenType());
  }
@Override
  public boolean isInComment(@NotNull PsiFile file, @NotNull Editor editor, int offset)