If posed with the subject question, given that I will not do the action in question, then what is the correct answer
No, I will not do it.
or
Yes, I will not do it.
#1 sounds better to me, but #2 is more logical. #1 sounds somewhat paradoxical in context of the question.