At a soil science lecture I heard the amount of sugar necessary for 1 acre of bermuda grass lawn or citrus trees irrigated with sugar water winds up being around 1 cup / 225ml of granulated sugar per acre foot / 1,233,481 liters of water. Any more is wasting it. So you shouldn't need to worry about ants if you're using the proper small amount.
__________________ May the bridges I've burned light my way.