Is it possible to have a script that double quotes a view or proc
In case this helps anyone else, an alternative approach to the using double single-quotes to represent a single single-quote in a string is CHAR(39).  That sentence is hard to follow, so as an example:

'Don''t' 

can be represented using this approach as 

'Don' + CHAR(39) + 't'

While this may not look as pretty with quick strings, it may clear up issues with large blocks of DSQL.  To further clean it up, I also suggest you mask special characters with variables such as:

DECLARE @tick CHAR(1) = CHAR(39)
SELECT 'Don' + @tick + 't code with DSQL'


In my scripts that I want to keep clean, I often take this approach with Tabs CHAR(9) and newline (crlf) characters CHAR(13) + CHAR(10)