You don’t need to make a point to them that you don’t love them. Maybe just tell them that you’re not feeling it or confused about where you stand with relationships or something? Might be more complicated if they see you dating soon after.
Tbh as long as you’re not making them feel blamed I guess you’ll do ok, if they love you it’s going to hurt for them either way. Sounds cold of me and it sucks. It really does but you can’t account for absolutely everything.