The pain will come from the desire to not be killed, i.e., holding your breath and resisting breathing the gas.
Just because the gas ITSELF doesn't necessarily cause pain does not mean the METHOD isn't going to be immensely painful. Judging the technique based on how an unknowing or cooperative victim will perform is just so dumb when it is an execution method.