Options | Scripting | Add new tagger script
Include the following and ensure it is checked (so it auto applies):
$if($lte(%totaldiscs%,1),$delete(discnumber))
$if($lte(%totaldiscs%,1),$unset(totaldiscs))
This will have disc number for a multi-disc album but no disc number otherwise.