What does HideFlags.DontSaveInBuild do ?

I was looking for a mechanism to exclude things from a build and stumbled upon HideFlags.DontSaveInBuild.

According to the documentation on that page:

I tried using this by setting particular game objects’ hide flags to this value, then build the project, but this doesn’t seem to have any effect. The objects that are marked with this flag are still included in the build.

How can i use this value? and what is its purpose (in case i misunderstood its original purpose) ?

Question is old, but the documentation hasn’t evolved.

It seems that it just means the object won’t be saved in the editor, just when you start a Build.
Maybe for some objects that would be created before Building starts as a helper for a preprocessing step, but not meant to be actually used in game?
The doc may benefit from a concrete example.

In any case, you can use the Tag EditorOnly on game objects you want to exclude from the build.

Thank you.