The best explanation I found to explain the use of quadruple quotes is this a site that shows info on set-quoted_identifier-settings-in-sql-server/
I have trouble with the logic of anything more than ''double quotes'' as first single quote is delimiter and second one is part of the string , but what the 3rd 4th and sometimes fifth single quotes do is beyond me.