Our use case spell will be inflict wounds (available to evil divine soul sorcerer):
Make a melee spell attack against a creature you can reach. On a hit, the target takes 3d10 necrotic damage.
The sorcerer's metamagic distant spell says:
When you cast a spell that has a range of touch, you can spend 1 sorcery point to make the range of the spell 30 feet.
This answer argues that the phrase "you can reach" should not prevent inflict wounds modified by distant spell from affecting a target outside of our touch range. We will assume as the user Blckknght writes:
Most touch-ranged spells refer to touching the target in their descriptions, so if the clause of the metamagic is to mean anything, it needs to override the relevant part of the description as well as the range section of the spell stats.
The feat Spell Sniper says:
When you cast a spell that requires you to make an attack roll, the spell's range is doubled.
Would Spell Sniper working together with distant spell allow us to cast inflict wounds on a target up to 60 feet away?
This answer states in passing that this would be the case, but the answers to this question seem to argue that Spell Sniper is taken into consideration before the distant spell metamagic is applied.