Hi Kent,
from my understanding. KDS doesn't have exact feature you need,
however user can choose to exclude a file from a project, thus this file is not included for build:

Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------