It's usually rather a jokey thing to say. On the surface it is rejecting the compliment but the person might be pleased really. Hard to say without context. It's possible that it could be said seriously instead of jokily. You'd have to know the circumstances in each case.