boolean (@NotNull ASTNode node) { ASTNode current = TreeUtil.findSiblingBackward(node, DOC_COMMENT_START); if (current == null) return false; if (current == node) return true; while (current.getTreeNext() != node) { current = current.getTreeNext(); if (current.textContains('\n')) return false; } return true; }