src/vs/workbench/api/browser/mainThreadComments.ts/MainThreadComments/setComments
class MainThreadComments:	private setComments() {
		[...this._commentControllers.keys()].forEach(handle => {
			let threads = this._commentControllers.get(handle)!.getAllComments();

			if (threads.length) {
				const providerId = this.getHandler(handle);
				this._commentService.setWorkspaceComments(providerId, threads);
			}
		});
	}