Pastrnak has 24 points (12 goals, 12 assists) over the 10 games; Marchand, who had an assist, has 21 points (seven goals, 14 assists) during his streak.
Chris Wagner and David Krejci each had a goal and an assist for Boston (9-1-2), which has won four in a row and extended its point streak to eight games (6-0-2). Tuukka Rask made 16 saves.
WATCH: [All Sharks vs. Bruins highlights]
"We're getting there," Bruins coach Bruce Cassidy said. "I think this past four, five, six games, we've progressively tightened up, played more our style where teams [have] got to earn their way out there. I thought at the start of the year, we were a little bit too loose, even though our goals-against was down. I thought that was probably a product of our goaltenders, and then playing the right way once we got the lead. But I see us more start to finish now playing that way.
"Listen, nobody's going to be at 60 minutes every night at this time of the year. You're still figuring out your team, guys are still getting going. But we're getting closer, so I like where we're at. We've played good teams; I don't care what San Jose's record [is]. To me, they're a good hockey team. They've proven that over the years. They've got good players, good coaching. They're a strong team, and we wanted to be equal to the task. I thought it was a good measuring-stick game in that sense from a team from the West."
Brent Burns scored, and Martin Jones made 36 saves for San Jose (4-8-1), which has lost three straight and finished its five-game road trip 1-3-1.
"We're upset individually how we're playing, we're upset as a team," Sharks captain Logan Couture said. "You know, at times you could say it was almost embarrassing out there. They were taking it to us for a lot of that game. You know it hurts your pride and as a NHL player; you're a proud person, you're a proud athlete to play in this league. And games like that hurt, but it's how you respond, and we need to respond … it's been too long now."
Pastrnak extended his point streak when he scored a power-play goal on a one-timer from the left face-off circle at 7:49 of the first period to give Boston a 1-0 lead.