Comedian acknowledged he was ‘slightly playing with fire’ when he made jokes about sensitive topics