I think of banter as saying something offensive but not really meaning it so the humor is in being "playfully offensive" or "offensive when you don't really mean to be offensive"