This document is archived and information here might be outdated. Recommended version.
Hide the line from publication.
[Visual Basic .NET] Public Property HideOnPublish As Boolean
[C#] public bool HideOnPublish {get; set;}