If it were possible, I think that would a really great idea!
Not everyone here is code savvy, especially newer members, so that might indeed help.
Of course... some people don't take notice of things even if they are half an inch from the eyes (I could go on...

), but yes, that could be very helpful.
I've actually had a few people new to the forums PM me and ask how to use the spoiler function.