I know from personal experience that coma patients are aware. Some smart-a** doctor wanted to pull the plug on my dad. My Mom told him where to get off.
Months later, afeter my dad recovered, the doc's name came up in conversation. Dad said, "Oh, yeah. He's the one who wanted to kill me"...