Your friend is a horrible person and bad friend for saying things that make you unhappy.
Your friend cannot be a very good friend if he persists on this subject despite your obviously unhappy reaction.