As I understand it, you want to append to the raw.dnsmasq.
I think you can only set the value for the option raw.dnsmasq (and all other options).
Which means that if you want to append, you need to read the existing value, make your modifications and then set the final value.