> it becomes a pain once you start trying to use it like a DSL or templating language.
I like YAML and use it a lot. But I'd argue the fact that it even allows/encourages you to do such things with it is a design flaw that ultimately has kept it from Do One Thing Well.