I guess it depends on what kind of pain is being referred to. I can't imagine myself being both conscious and in a vegetative state without experiencing a lot of psychological distress.
You're imagining who you are now being in that state, not who you would be after enough brain damage to leave you in a vegetative state. Imagine that you're not (for example) laying down long-term memories, or that your ability to sense the passage of time is compromised.