If you try this simple sql
insert into test (test) values ('test\'test')
then the string is not highlighted properly:
https://i.imgur.com/DE9TJUP.png
I guess it's a bug.