tell him that what he's doing does not amuse you and that if he does not want to lose you, he should stop trying hard to be more than friends.
i assume you like him (as a friend) or you wouldn't have put up with him this long. he wouldn't want to lose you as a friend i think, even if it means giving up on having a romantic relationship with you.
good luck.