I used to think this is irony, but after searching for the definition of "irony", it clearly isn't. It also isn't sarcasm. Here's an example:
Person 1: Hey, do you know Newton's second law?
Person 2: No, I'm a science student, not a law student.
Person 2 is making a joke by pretending that they do not know what Newton's second law is. Is there a name for this? Person 2 is being _____ ?