As said above I think your feelings are valid. I also think it’s normal to still be hurt even though he’s apologised and he can’t do anything more really. Words can hurt, what’s been said can’t be unsaid and even a genuine, sincere apology doesn’t always make things better. Give yourself some time to get over the initial hurt and see how you feel in a week or two before doing anything or making any decisions about anything. I’d suggest taking a day to yourself (take yourself out to lunch, get your hair/nails done or get a massage, get a tub of your fave ice cream and eat it all while watching your fave movie, treat yourself to something you’ve been thinking about getting yourself, whatever you wanna do) and also go meet a good friend for lunch or a coffee for a catch up. If you feel you need to maybe take a bit of space from your boyfriend, even for a day, you can say something like “I’ve got a lot of things on my mind rn, even though you’ve apologised and I accept your apology I’m still a bit hurt so I’m going to take some time to myself. I love you, I just need some time to process this so I’ll call you tomorrow/Tuesday (or however long you want) and we can talk then, I hope you understand”. Give yourself some time you may be able to get over this and move on.
For me, i feel like a comment like that (even though I know it wasn’t said with bad intentions or anything) would really hurt me and put a big dent in my confidence. I feel like a partner is someone who you’re supposed to be fully trust, feel fully supported by and feel fully comfortable and confident being just your true vulnerable self with. And personally I think that hurtful comment would damage that aspect of my relationship with that person. And idk if I would be able to recover that. So I totally understand if you feel like that.