As it seems you plan to fit decoders to you locos, sitting idle on a powered section of track isn't an issue. The decoder doesn't send any power to the motor unless you command that particular loco to move.
You may be thinking of something you read that a single loco without a decoder can be operated on a DCC system. Most (not all) DCC systems are capable of doing this but it is not recommended, especially for N gauge motors which seem particularly likely to be damaged by the DCC current. So the advice is to fit a decoder to any loco before you run it on DCC.
You may be thinking of something you read that a single loco without a decoder can be operated on a DCC system. Most (not all) DCC systems are capable of doing this but it is not recommended, especially for N gauge motors which seem particularly likely to be damaged by the DCC current. So the advice is to fit a decoder to any loco before you run it on DCC.