It seems that the ini was reformatted, turning end of line comments introduce by the removed sharp character into before the line comment. Replacing the value therefore didn't work.