Git config indeed isn't TOML, but it's the same trick; a newline adds a section header in any line-oriented config.
TOML needs quotes too. But if you forget them, TOML nests silently, while SOML errors.
I have updated the readme to make these things more clear.