Line numbering can be configured to appear throughout the document, on a specific page, or only in a specific section of your text. However, keep in mind that your line numbering will be visible in file printouts. In addition, Google has disabled line numbering for Docs’ pageless format, which removes the concepts of margins and pages for a smoother infinite scroll-like experience.