The config preset has one mapping root, nested values, booleans, a sequence and a leading comment.

Root kind is mapping

This evidence is separate from whether an application recognizes the keys.

Formatting keeps the parsed comment

Spacing is normalized from the YAML document model, not through JSON.