Yes, the LIMIT keyword is  supported in Advanced Search (SOQL) mode.