Escape single quotes in comments