Not in the code directly, but you could store the data in a hidden input or div and access it's value or .innerHTML (respectively) if you have a really long bit of text/html to write.
There are some hacky ways of doing it with comments, but nothing I've seen is reliable across browsers.