Pain is broadly not preferred. That is to say, an absence of cognition is preferred to the cognition of pain. This makes the question easy for a preference utilitarian, who holds there is nothing impeding the value of the preferences of subjects: Badness attaches to pain when a subject would rather not be feeling it. When a subject prefers pain for whatever reason, there is nothing wrong with it. For objective moral systems outside of preference utilitarianism, the question is a little more threatening.
Pain is broadly not preferred. That is to say, an absence of cognition is preferred to the cognition of pain. This makes the question easy for a preference utilitarian, who holds there is nothing impeding the value of the preferences of subjects: Badness attaches to pain when a subject would rather not be feeling it. When a subject prefers pain for whatever reason, there is nothing wrong with it. For objective moral systems outside of preference utilitarianism, the question is a little more threatening.