Comments provide additional context and explanations for complex code segments. By effectively utilizing comments, developers can ensure that even highly efficient but less readable code remains understandable and maintainable for themselves and future reviewers.