Sharpshooters who kill from a hiding place are sometimes called "snipers." The Merriam-Webster entry suggests that this is the earlier sense of the word. But it provides two Recent Examples on the Web, both using the word for carping or snide remarks. Here's one:
Wringing jokes out of a
field of candidates who mostly agree with each other — and who didn’t
snipe at each other as viciously as the bloated Republican field did
four years ago — wasn’t the simplest thing.
— Steve Johnson, chicagotribune.com, "Late-night TV confronts a tough question: Are Democratic candidates funny?," 28 June 2019
And not from Merriam-Webster any longer:
We're going to hear a lot of spirited discussion about the President's
plan in the next few days and weeks and that's fine as long as
everyone comes ready to talk and not just snipe, complain and argue.