I think YAML has a particular valid use case: short, well defined, human readable config files that need to be edited by less technical users.
The idea is that there's a single config.yml file in the project root. It's mostly empty but could grow to ~100 lines if all config options are are changed, which realistically will be almost never. Most times it'll be 0-20 lines long.
In that case xml would be needlessly confusing. It's not easy for non technical users to read.