facetiousness
🇺🇸
/fəˈsiːʃəsnəs/
🇬🇧
/fəˈsiːʃəsnəs/
Saying or doing things in a joking way when it's not a good time for jokes
Despite the serious situation, his facetiousness was out of place.