Knicks shooting guard Arron Afflalo’s slump deepened — and it couldn’t have come at a worse time.

Afflalo shot 2-for-12 for five points, didn’t handle Golden State’s Klay Thompson (34 points) and was the prime goat in the Knicks’ 116-95 loss to the Warriors.

During the Knicks’ 1-5 stretch, Afflalo has hit some kind of veteran’s wall — shooting just 25-of-78. He made headlines last week when he boldly stated the Knicks were “a playoff team’’ after a tough loss to Oklahoma City.

Not when their secondary sniper fires blanks. Afflalo admitted his performance was “unacceptable.’’

“I don’t know,’’ Afflalo said. “My job is to be ready to play. Whether my shot or my body or energy level, it wasn’t there. But I’ll get up in the morning and get in the weight room.

“Maybe I should’ve got in more weight-lifting. Obviously I didn’t have it and that’s unacceptable. I’ll learn from this and be more prepared.

“I’ll bounce back.”

Afflalo saluted Thompson, who drained 14-of-18 shots.

“I’ve watched him grow from his rookie year,’’ he said. “He’s just a very effective scorer now. He does it efficiently.”

Knicks president Phil Jackson had wanted his former Lakers forward Luke Walton to be part of Derek Fisher’s coaching staff. But Walton, when Golden State’s Steve Kerr came calling in the spring of 2014, couldn’t bypass the chance to stay in California, where he has spent virtually his whole life.

In the end, Jackson gave his blessing for Walton to stick on Kerr’s first coaching staff and Fisher went in a different direction.

Walton has turned into quite the future head-coaching prospect, guiding Golden State to a 39-4 record before Kerr made it back last week. Kerr coached his fifth game Sunday.

“I think Luke has an overall understanding of the game — he’s comfortable in his own skin,’’ Fisher said. “He’s a guy really not trying to impress anybody. That level of comfort in himself and confidence he has in himself helped him to step right in and do a great job.”

Kerr praised Jackson’s choice of Kristaps Porzingis despite his lousy Sunday night.

“He looks like he’s going to be a star,’’ said Kerr, who returned from back surgery 11 days ago in time to join the Warriors’ record-setting start. “The length, the touch on his shot, the range, but also the passing ability, the feel. He looks like a fantastic pick — someone who they’ll build around a long time.’

“[Jackson] made the pick. He would be getting the blame if it wasn’t a good pick. You got to give him the credit for making the pick.’’