I may be an unreasonable outlier, but I absolutely refuse to learn a complex config language.
YAML/TOML? These are the maximum of punishment I'm willing to deal with, as they are quite universal and useful in many situations.
If you need a complex touring complete config, you better use a reasonably popular general purpose language, or I'm not touching it.
> you better use a reasonably popular general purpose language
Most languages are horrible at templating, so that's its own world of pain.