Unfortunately, you are probably gonna have to be harsh and really hurt his feelings for him to get the idea, since your not-so subtle hints are obviously not working. It would be understandable to feel bad about it, but by being this persistent and annoying about it, he has put you in a position where you are gonna have to be extremely blunt and honest as to why you have no interest in him (which will come off as harsh, but it is what it is) for him to really get the idea. And don't let him play the "you are so mean" card to you or your friends.