private static @Nullable ASTNode getPreviousNonBlankNode(ASTNode node) {
    while (true) {
      node = TreeUtil.prevLeaf(node);
      if (node == null || !YAMLElementTypes.BLANK_ELEMENTS.contains(PsiUtilCore.getElementType(node))) {
        return node;
      }
    }
  }
private static @Nullable ASTNode getPreviousNonBlankNode(ASTNode node)