ことなんかない

never …; there’s no …

→ こと
phrase Rare #42,790
never …; there’s no … こと turns an action or state into a noun, and なんか adds emphasis to the negation. Depending on context, the phrase can mean that something has never happened or that there is no such thing.
JA: そんな話を聞いたことなんかない。
EN: I’ve never heard that story.

彼らはそれに同意したことなんかない、と言っていた。

They said they had never agreed to it.

何にも言わずに何にも言うことなんかないわよ

I have nothing to say, and I’m not saying a word.

— 生きる (1952)

一人ぼっちだったことなんかないのに

It’s not like I was ever all alone.

— パンズ・ラビリンス (2006)

何も怖いことなんかないんだよ。

There’s nothing to be afraid of.