This feature is well supported. And user Temporaer made a good suggestion, but as you are using a static key, it's not the CA which needs to be inline, but a secret:
<secret>
-----BEGIN OpenVPN Static key V1-----
.......
-----END OpenVPN Static key V1-----
</secret>
And remove (or comment) any line in the configfile which starts with
secret <some-file-name>
Hope this helps.