https://stackoverflow.com/questions/48998034/does-toml-suppo...
It's even in the example file https://github.com/toml-lang/toml/blob/master/examples/examp...
General purpose until you need to store dates/times, self-referential structures, enums, etc.
json and toml are both serializations of data. I don't think the line you're trying to draw between "configuration file format" and "data structure format" is a well-defined line.
I wouldn't want to use if for config files or passing complex data but then it's not designed for that.
There is a distinction between markup languages e object notation languages. XML, HTML and Markdown are markup, JSON, YAML, TOML and most other are object notations.
(here my distinction, in general, is if they allow unquoted text)