"an archly playful reply"
"an essay with an archly comic title"
You can understand it as "in a mischievous manner".
There's not a really simple use to this, as "arch-" can mean "principal", eg. archbishop, archenemy or arch-nemesis. In your examples, the meaning has changed with time.