feat(comments): Create global filter instead of inline function