The first suggests that the remark was not really intended to be true; the second suggests that the remark was uttered in a humorous way. Still, they could carry the same intent.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.