On the Pragmatics of Puns

A: I want to buy a dress to put on around the house.
B: Yes, Madam. How large is your house?