Marleau became the fifth player in NHL history to reach the milestone but the youngest to do so (40 years, 118 days). His eighth goal of the season at 2:56 of the second period broke a 1-1 tie.
"It's one of those milestone games," said Marleau, the first player to score in his 1,700th NHL game. "You get a little extra energy, some extra jump, and it's nice getting that one on the board tonight."
WATCH: [All Stars vs. Sharks highlights]
Pavelski played his first 13 seasons with the Sharks, scoring 761 points (355 goals, 406 assists) in 963 games before signing a three-year contract with the Stars on July 1.
"Thanks to everyone involved out there, and everyone who showed up tonight," Pavelski said. "Would have liked to win, for sure, but it was pretty special."
Brent Burns had a goal and an assist, and Aaron Dell made 27 saves for his fourth win in five decisions for San Jose (21-22-4), which is 4-1-1 in the past six games.
"At least two if not three game-changing saves he made," Sharks coach Bob Boughner said. "You hear the crowd, you hear the enthusiasm in the building and the players feed off that.
"There's going to be breakdowns in games, and their guy made some big stops as well, but you need those saves throughout the 60 minutes and it really energized our team."