First of all. YAML is supposed to be human readable, not writeable. If you even learn the standard, you realize that it's primarily a multi-document streaming data format. That means it's intended to be written on the fly by a machine. The macros it contains are rudimentary and don't actually recursively interpolate data. The extensions are designed solely for external applications to evaluate, leaving the humans out of the loop. And its many different object types are intended for the serialization of program data structures - not for a human to write the word NO in their terminal text editor, into the data format designed for a program to deserialize arbitrary data.
Stop fucking writing shit in YAML by hand!
And while we're on the subject, please, for dick's sake, stop treating data formats like configuration formats!! An Apache or Nginx config file is a configuration format. YAML is a data serialization format that is human readable. Learn the difference.