pleasantry
/ˈplezəntri/Definitions
1. noun
a person or thing that is pleasant or agreeable; a pleasant or amusing quality or circumstance
“The witty remark was a pleasantry at the dinner party.”
2. noun
a formal or polite expression of thanks or greeting
“She offered her pleasantry to the host as she entered the room.”