Recursively clear all existing comments from a YAML AST node.
This ensures that injected comments are deterministic and never duplicated with comments that may already exist in the document.
The YAML AST node to clear comments from.
The same node, with comments removed.
Recursively clear all existing comments from a YAML AST node.
This ensures that injected comments are deterministic and never duplicated with comments that may already exist in the document.