Does Unused Assets Take Space In Builds?

For instance, i have an “A” asset in library but i never used it anywhere in game. Does it includes in builds and take spaces?
Thanks in advance.

If no reference is set to A. Then the asset A is not include in build. Except if asset is in Sprites folder, is used in a prefab.

If you create a folder like Resources and A is in. If you do not use it, then it is not include.