So it turns out that ini files use semi-colons for comments.