mIRC can no longer $readini on these files safely in 7.x. Well, reading might be safe, writing would wipe the whole file, which is not a good idea.
In any case, that example is very different, since that ini data is embedded inside a comment. My point was you should not expect the syntax highlighter to understand ini data as mIRC syntax.
Why doesn't your DLL also flag the [start] [end] and [@topic] lines as errors too? These are just as likely to be syntax errors as what is flagged...