The excellent string-edit package (edit strings with escapes) now supports even more major modes! https://github.com/magnars/string-edit.el