Is the subway dangerous?

Going to be visiting new york and landing in JFK at 9-10pm. I dont mind taking a taxi into the city but I usually really like the subway (from my experience with it in London), however I heard some pretty bad stuff about the subway in New York.

What the deal today? Is it dangerous? Especially given we are talking about night-ish.

Im a guy if that matters.

EDIT: Its funny seeing New Yorkers definition of safe 😆 comments like "you'll be fine, just be aware of your surroundings" or "use common sense" dont really say "safe", at least for me, but I got my answer, thank you all!