maybe you can use a char recognition partern as \n and switch it back to $crlf when you extract it from the ini and the reverse process to write down your multiline text to the ini file.

item=arf\narf -> arf $+ $crlf $+ arf

anyways, just a suggestion, you can use anything for \n as replacement string