Prestidigitation only has a 10' cast range and requires verbal (audible incantations) and somatic (intricate hand gestures) components too. The cantrip Prestidigitation looks really appealing and useful, unfortunately most don't notice the components or cast range. The cantrip from 5e that can light fires is called Produce Flame, which can make fire, but can't extinguish it, also it has no range (self). The cantrip Control Flames has a 60' range, and only requires somatic components. Control Flames is the go to spell for putting out non-magical, fire light sources up to 5'x5'x5' in size in 5e D&D. Gust is the only other cantrip in 5e I can think of that could put out a small, uncovered non-magical flame. The cantrip requires verbal and somatic components too, but at least it has a 30' cast range, unlike Prestidigitation. But this is Larian D&D, where you can light your weapons on fire for added damage with a candle (all as a bonus action too, because who cares about real action economy), and a lit torch is the strongest non-magical one handed, strength based weapon in the game (without having to use a bonus action to light a weapon on fire), so who cares about game balance and using 5e game mechanics.