What you're asking for is normally called a Table-value function or parameterized view. There is no such capability in BigQuery right now.
But your query may be written as a regular view as far as I can see like:
CREATE VIEW yourView AS SELECT id,
time,
text
FROM `bigquery-public-data.hacker_news.comments`;
SELECT id,
time,
FROM yourView where text in [
'stock',
'overflow',
'help',
'me' ]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…