The city cop killed in a motorcycle accident initially kept the purchase of his bike secret so his family wouldn’t worry, the officer’s stepfather said yesterday.

“He knew we would be totally against it,” said Errol Anderson, 57, who raised tragic Officer Kamal Matthews, 28, since he was a little boy. “We didn’t want no part of it. Being a cop is dangerous enough.”

Matthews bought the Kawasaki bike just after graduating from the Police Academy in January. He initially stashed it in the back yard of the Canarsie home he shared with his family before coming clean with them.

Their worries became reality late Wednesday night, when Matthews was killed after colliding with an SUV on Flatlands Avenue as he drove with his girlfriend to see a movie.

Matthews’ girlfriend, Rayna Madho, 22, survived after being thrown over the handlebars, shattering her leg in three places, police said.

She underwent surgery yesterday and remains in intensive care.

Madho, a police cadet in the 67th Precinct in East Flatbush, was scheduled to start at the Police Academy in July.

Matthews started his police career at the 73rd Precinct, reaching a goal he had long strove for, his family said.

“He loved what he did. That’s what he dreamed for,” said his sister Trisha Anderson. “That’s what he wanted.”

Matthews had been out sick due to a deep cut he got on his arm from a glass door while attempting to nab a gunman who shot a cop three times in the chest on June 1.

That cop’s bulletproof vest saved his life, but the gunman committed suicide before Matthews could get to him.

Matthews and Madho met about two years ago, Trisha Anderson said.

“He’s a very charismatic person. Could get along with anybody,” said neighbor Joey Coeur, 16. “Always willing to give.”