Humor is the last thing to translate, so ease into it. The safest kinds everywhere: gentle self-deprecation, especially about your own struggles with the local language, food spice levels, or getting lost, which casts you as humble and charms almost universally; warm observational humor about everyday situations; and laughing readily at others' jokes, which matters more than making your own.
The firm avoid-list: jokes about the local religion, the royal family or national leaders, historical tragedies, and territorial disputes; in some countries these are legal hazards, not just social ones. Sarcasm and irony travel especially badly, since across much of Asia and in second-language conversations they are taken literally or heard as genuine criticism. Teasing individuals, even affectionately, risks causing loss of face in cultures where dignity in front of others is paramount. And off-color humor with strangers is a gamble everywhere, with conservative societies making it a bad one.
Calibrate by listening first: notice what locals joke about among themselves and how edgy they get, then stay one notch milder than that. If a joke lands with silence or a polite frozen smile, do not explain or repeat it; move on warmly. Shared laughter arrives naturally once trust exists, and it always arrives.