Welcome! One way or the other, the carried yarn will show. If you know the socks will always be folded over, then you've hit on the solution. Carry the yarn up the front so it will be hidden when the sock is folded. You may also want to avoid the dots that show when you change color in the rib pattern purls. Here's a
tutorial about just that. Hope the socks turn out perfectly!