Without knowing for sure in this case, there are design tradeoffs in everything you do. I expect there is the need for a structural component (probably a rib) at that point in the wing, so making it continuous would require either a wet wing (with it's own issues) or more structure elsewhere.
Two tanks is the simpler, lightest and strongest way to do it, I expect.