If a comedian tells a joke that you find funny, you laugh. If he tells a joke you do not find funny, don't laugh. Or you could possibly go as far as groaning or rolling your eyes. Then you wait for his next joke; if that's funny, then you laugh. If it's not, you don't laugh - or at very worst, you can leave quietly.