I haven't been able to figure out a way of doing this without making code changes to the plugin.
I created a fork of ccaroon's original repo that disables single-quote strings altogether. This solves the problem for me.
You will have to build the extension per the README.md
. On Linux you can find koext
in <komodo-install-dir>/lib/sdk/bin/
. It's likely similar on other platforms.