Pleasantry has 2 different meanings across 1 category:
Noun
an agreeable or amusing remark
"they exchange pleasantries"
A casual, courteous remark.