Etymology
Today it means: Drollery, jesting, a funny saying or action. Full definition →
From funny + -ment, on model of merriment.
Etymology from Wiktionary, CC BY-SA 4.0.