Melee seems to come with the built in expectation of low survivability for those that choose to deal damage that way. As a result, the sustained damage, and often burst damage, tends to trend higher. This can be expanded to include ranged physical damage dealers, as well. Rangers, hunters, etc.
That's all well and good for video games, but what about for table top games? Is there a difference in efficacy between ranged and melee classes that has been taken for granted or not explored? Let's take a look at a few different systems.
DnD: 4E:
Melee Damage Examples: Barbarians, Rogues, Monks, Avengers, Rangers
Ranged Physical Damage Examples: Rangers
Ranged Magical Damage: Sorcerors, Warlocks
Taking this sampling, in no way entirely complete, I think the edge goes to the Ranged classes. The melee classes deal a lot of damage, but are subjected to auras. This is a pretty huge deal in 4e. Auras, auras, everywhere. In addition, you have the marking mechanic, which encourages tanking. The creatures often end up in melee range, which is good for all parties involved, except the melee characters are likely to take splash damage, or be included in attacks. Additionally, once in melee, the characters have an increasingly hard time with mobility. It's very hard to get away from things, especially without taking even more damage. Even if you aren't the focal point of the attacking creature. Charge can help as a gap closer, but it's not a hard gap closer. It's still subject to the dreaded attack of opportunity.
Due to their "fragility", ranged classes tend to end up with more hard escapes. Teleports and damage avoidance are high. Damage for the ranged magical classes tends to scale extremely well, and often multiple targets over a large area can be hit with spells and effects, without limiting the damage that is being produced. Even if they are in melee range, they aren't limited as to what they can cast, because of the way shifting works. They are rarely threatened to any large degree, and auras almost never come into play. Now, you can actively work around this if you are running a game, but you have to work to do so. If you do it every time, it does tend to marginalize the concepts of the defender, and it can frustrate the melee, as they can't pick all of the targets in the same manner than ranged can.
The edge in fourth edition goes to ranged classes, strongly I feel. Though this scales from marginally to greatly as the game progresses in level.
DnD: 3e, 3.5e
Melee examples: Fighter, rogue, ranger, barbarian
Ranged physical damage: Rogue, ranger
Ranged magical damage: Wizard, Sorcerer, Cleric
3e had some parity issues, to put it mildly. Multi-classing and prestige classes were just nuts. However, I think 3e and 3.5 were more friendly to melee, at least early on. Once you get to the later stages of the game, the ranged classes begin to not only dominate, but make you wonder what you are doing wrong.
Auras aren't really a thing in 3/.5E. Multi-attacks, however, are. So many multiple target, multiple attacks. It's as bad as early MMO cleaving. Without an artificial tanking mechanic, it meant if you were close, you were going to get battered. Spiked-Chain Fighter serving as a statistical anomaly here, there was very little incentive to play a melee character. Rogues did great with evasion and greater evasion, but if you lacked that, you were going to have a bad time. Of course, you could pick up a lot of that as a ranged character, simply by using a bow, for example, as a rogue, and not give up your sneak attacks. Even more so than 4e, you really, really had to have potent magic items in 3e to compete as a melee character. Not to mention that you didn't bring any of the party utility the way the magical ranged classes did. We all know that buffing was ridiculously powerful in 3/.5E. Movement was less of a big deal here, as the scale was simply different and it didn't tend to quite be so frustrating. However, again, Spiked Chain Fighter might as well have been from a different game.
Prestige classes allowed for things like Mystic Theurge, Arcane Trickster, Hierophant, and Arcane Archer. The first three are the holy trinity of ranged ridiculousness. The first two are the most egregious offenders, but Hierophant and Neutral with Negative Energy reversion is a really, really close third.
The edge in 3/.5E goes to ranged classes, with the caveat that with enough gear it eventually evened out. The gear level for this was ridiculous and required SR or Immunities, but hey.
Earthdawn
I was going to give examples, but really it's simple here. Spellcasting is really, really powerful. It can be frustrating...until you get your powergamer options. Ice Mace and Chains, Pain, Bonedance, etc. etc. Once a caster advances, melee exists as a frontline to not overrun the casters. The casters are the show, minus rogues with questionable math. Spellcasters can even help out the melee with a little choice. The weapons created with magic rock face. Being able to get things like Air Throne with a spell were pretty ridiculous. The complete glossing over of things like how evil some magic is certainly helps, too. Not to mention that getting in range of horrors seems like a Bad Idea. Of course, Earthdawn was pretty egalitarian about the ranged vs melee attacks. However, it was a setting based on the danger/allure of magic. It's not surprising that the outcome is what it is.
Over the Edge
It's classless. It's a great system, but holy shit guns. Having a gun is just better than everything else, even with limited skill. Kung fu is bullshit, get some more guns. You should be a John Wu film.
Spirit of the Century
Very little difference, it's narrative play. Every gets to be awesome in their own way. I liked that a lot.
So, I think for the most part, in the games I have played, that ranged seems to win out. In part it's because it is easier to mess with melee characters. Being in range of the bad is the biggest detriment to the melee characters. Then again, ranged characters also tend to have more use out of combat. Though, that's another entry all together.
In video games, mechanics are introduced to mess with ranged characters, where movement means less damage or less safety. With the turns of table tops, it just really doesn't work this way. As mentioned before, having monsters appear on them, or ignore defenders or whatnot is ok sometimes, but not something you want to lose a lot. You could do things like increase auras, but that's just obnoxious. So what are some ideas to even things out a little in combat?
Eye of the Storm - Reverse aura. You would have a small area of safety around certain units, but that opens you up to attacks. Some options include a dampening field that lowers damage dealt, encouraging players to get close to be more effective, a storm that strikes lightning in the cloud around the eye, or strong winds that decrease the ability to strike actively or moves characters around.
Tendrils - Ranged attacks in addition to melee attacks. Tendrils wouldn't occur as often as ranged attacks, but a character being lashed by something if they were far away or just as an extra damage kicker of the creature would add a little more risk.
Pillars - Things that require line of sight. If the characters can't attack every round, it's obnoxious for them. They feel useless. However, if the characters can use cover and take bonuses and penalties from doing so, it might be encouragement for risk.
Cones, Splash, Breath - More pie slice/wide area attacks. Punish everyone, be equal!
It might not be as big a deal as I am making it out to be, but I do think there is a disparity. Usually this is in survivability, and the trade is very slightly more damage for the melee. However, sometimes this isn't even the case. It might be nice to keep that in mind for future design.