Can I use the TIniFile
[VALUES]
; first number
a=5
; something else
b=25
...
...
The TIniFile
class is a loose wrapper around the Windows API functions the provide INI file services. That API does not support writing comments and so TIniFile
cannot do so either.
If you want to emit files with comments, you will have to find a different INI file library, or roll your own.