Can I put multiple permit statements in sip_custom_post.conf?

We have multiple netblocks that we now wish to connect to our FreePBX system. We have discovered that the device configuration page will accept multiple netblocks in the permit text box but that it only produces one permit statement in sip_additional.conf; and that has invalid syntax.

I am unfamiliar with how asterisk pulls together device configuration from multiple locations. Given a device named 1141 Is it only required that I do something like this in sip_custom_post.conf?

[1141]
permit=10.0.1.0/255.255.255.0
permit=192.168.7.0/255.255.255.0
permit=192.168.18.0/255.255.255.0