Similar to No offense. It's usually said by a person after they've insulted you and meant everything they said, but don't want to upset you or get punched in the face as a result.
Mike: "Dude your a fucking faggot and no ones likes you! ...Haha only joking :)"
John: -.-