Just tell him no thank you, it's been a pleasure, you're flattered by his attention, but it is not going to work. Also tell him that if he is a gentleman he won't argue or persist, and then maybe you can be friends.
If he isn't a gentleman, block him and go on. Don't look back. It's his choice.