You may have scared him off but not completely it just scared him hearing you say hat because that was almost like saying you wanted to have a committed relationship with him and you thought since he was showing so much interest and said he liked spending time with you it meant that you were thinking about actually having a commitment from him. I think you caught him off guard and that is what scared him the most. What you should do is contact him and tell him you are sorry for over stepping your bounds with him and that you would like to continue being friends and explain to him that you meant that you have so much fun with him and feel like you can be yourself around him without having to put up a front of any kind.
I think if you would have let things go at his pace he would have been able to give himself to you but it's not too late if you are willing to just let things take it's course and not push anything. Alot of people make that same mistake they think because they get along so well with that person that they feel the need to rush it to that next level but that just isn't the case alot of men get scared if they feel they are being pressure into any kind of relationship before they are ready for one. You have not lost the opportunity but you may have to do some damage control for sure, tell him that you weren't saying that you wanted a relationship but you meant that spending time with him was fun and exciting and you got caught up in the moment and that you didn't mean to scare him and would like to be friend again and hang out. What you have to figure out for yourself is how long you are willing to wait before you realize that it's too long to wait for him to be ready you don't want to find yourself waiting years for him to commit only to never get that commitment.
I would give it a week without any contact unless he contacts you first and then I would call out of the blue just to see how things are and then judge by whether he is happy to hear from you or not whether you should continue to give him time but if he continue to act weird after a month or so then it may be time to start backing away from him and the situation because he may be ready to move on but doesn't quite know how to tell you and doesn't want to hurt your feelings. Just see how things go after a week of giving him total and complete space for himself.