Use special Swift comments to hide code from display but continue to run it.
You can hide code that's unrelated to the main content of a playground page, like calls to page setup functions, code for assessing the learner's progress, and functions in editable examples. Hidden code is still executed when the learner runs the playground.
Place code you want to hide between the
The following shows the raw syntax for a playground page with hidden code.
The following shows how the previous code appears when it's rendered in the playground page source editor.