you can include the ! as long as you break it up.

"select Foo from bar where fubar like 'boom[.,?" + "!" + "] ' "