A single file can be excluded from a build by right-clicking the file and selecting "Show Build Settings..", checking the "exclude from build" checkbox.
As soon as multiple files are selected, the "Show Build Settings.." is disabled.
Regards,
Ruud Pendavingh