From the official docs:
To use an advanced Google service, follow these instructions: In the script editor, select Resources > Advanced Google services.... In the dialog that appears, click the on/off switch next to the service you want to use. At the bottom of the dialog, click the link for the Google Developers Console. In the new console, again click the on/off switch next to the service you want to use. Return to the script editor and click OK in the dialog. The advanced service you enabled will now be available in autocomplete.
To use an advanced Google service, follow these instructions:
Drive
Drive.{autocomplete suggestions appear}
Getting comments (Drive.Comments.list) is now a case of:
Drive.Comments.list
var comments_list = Drive.Comments.list(document_id);
There was an error while loading. Please reload this page.