New York is nine points behind the New Jersey Devils for second in the Metropolitan Division after the Devils won 3-2 in a shootout at the Washington Capitals on Thursday.
"We'll take that game," Panarin said. "It's maybe not the best game for us, but it tries to build the team."
Kaiden Guhle had a goal and an assist, Alex Belzile scored in his third straight game, and Montembeault made 30 saves for the Canadiens (26-33-6), who lost their fifth in a row (0-3-2) and second in a shootout following a 4-3 loss to the Carolina Hurricanes on Tuesday.
"We could have been 5-0 in that stretch," Montembeault said. "I think we're playing well, everybody's competing. The bounces are going to go our way soon, but I'm just really proud of the effort of the guys."
Guhle gave Montreal a 1-0 lead 35 seconds into the first period in his return after missing the past two games with an upper-body injury.
Alexis Lafreniere
tied it at 1-1 at 3:16 when he deflected Fox's shot from the point past Montembeault glove side for the Rangers' first power-play goal. It was his third goal over the past two games.
"I think they played really well," Lafreniere said. "We gave them maybe a little too many 2-on-1s, 3-on-2s, and 'Shesty' was good for us tonight, so it's good to get the win, and two losses in a row, it's good to get back winning."