Only a model's explicit owner instructions can establish whether an alternative lighting method is permitted. Do not improvise one.
What the observation means
Some appliances depend on electrical controls or a particular safety sequence. A general assumption based on an older hob may be wrong.
A useful next step
Stop repeated attempts and consult the correct manual or an appropriate professional. If gas is smelled, follow emergency advice. Do not remove guards, hold controls open or use an extended flame to bypass a failed ignition arrangement.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.