Filter out comments from external paste

Bug: T71821
Change-Id: I165efd75adf3d4092860c6d2bc408469dba31388
Merge "Filter out comments from external paste"