crudini, which is another common tool to parse ini file, does not support inline comments.
$ crudini --get test.ini foo key1 val1 $ crudini --get test.ini foo key2 val2 # comment
crudini, which is another common tool to parse ini file, does not support inline comments.
$ crudini --get test.ini foo key1
val1
$ crudini --get test.ini foo key2
val2 # comment